function counter(state = 0, action) {
  switch (action.type) {
    case "INCREMENT":
      return state + 1;
    case "DECREMENT":
      return state - 1;
    case "addAsync":
      return 
    case "decrementAsync":
       return state + 1
    case "Decrement_NUM":
      return state - action.num
    case "ADD_NUM":
      return state + action.num
    default:
      return state
  }
}

export default counter;
